package Demo01_15;

/**
 * Created by 14229 on 2020/1/16.
 */
public class Test06 {
    public static void main(String[] args) {
        String s = "";
        int count = 0;
        for (int i = 1; i <=100 ; i++) {
            s = i+"";
            if (s.contains("9")){
                continue;
            }
            count++;
            if (count==5){
                System.out.println(i);
                count = 0;
            }else {
                System.out.print(i+"  ");
            }

        }
    }
}
